package com.april.pattern.structural.adapter.objectadapter;

import org.junit.jupiter.api.Test;

/**
 * @author April
 * @version V1.0.0
 * @date 2019/07/04 15:42
 * @description 对象适配器的方式
 */
public class ObjectAdapterTest {
    @Test
    public void classAdapterTest() {
        Target target = new ConcreteTargetImpl();
        target.request();

        Target adapterTarget = new Adapter();
        adapterTarget.request();
    }
}
